package cn.wolfcode.wolf2w.util;

import java.util.regex.Pattern;

/**
 * 校验手机号码格式
 */
public class IsPhone {

    public static boolean isPhone(String phone) {
        Pattern pattern = Pattern.compile("^[1][3456789]\\d{9}$");
        return pattern.matcher(phone).matches();
    }
}
